Objects Reference

class render

Definition

class render
{
  public:
  int type;

  virtual ~render()
  { ; };

  virtual int CreateView(HWND wnd)=0;
  virtual void DeleteView()=0;
  virtual void ResizeView(int sx,int sy)=0;
  virtual void InitView()=0;
  virtual void DrawView()=0;
  virtual void SetFullScreen()=0;
};

Data Members

Member Type Description
type int render type:
0 - None
1 - OpenGL

Methods

CreateView, DeleteView, ResizeView, InitView, DrawView, SetFullScreen

Remarks

This is the base class for the render. The OpenGL implementation of the render is made by sub-classing this class and implementing its virtual function in the selected graphics API. 
A global variable named render is the main interface with this class and must be initialized/freed with the init_render and close_render global functions.

See Also

Global Variables, Global Functions, renderGL